// import axios from 'axios'
import Mock from 'mockjs'
Mock.mock('/api/list', {
    'list|10': [{
        'id': '@id',
        'title': '@ctitle(2)',
        'children|20': [{
            'id': '@id',
            'title': '@ctitle(2)',
            'img': '@image(100x100,@color)',
            'name': '@cname',
            'price|100-10000': 99,
            'flag': false
        }]
    }]
})